using System;

namespace Needle.Core.Resolver {

    /// <summary>
    /// Thrown when an activator could not be found.
    /// </summary>
    [global::System.Serializable]
    public class ActivatorResolutionException : NeedleException {
        /// <summary>
        /// Initializes a new instance.
        /// </summary>
        public ActivatorResolutionException() { }
        /// <summary>
        /// Initializes a new instance.
        /// </summary>
        public ActivatorResolutionException(string message) : base(message) { }
        /// <summary>
        /// Initializes a new instance.
        /// </summary>
        public ActivatorResolutionException(string message, Exception inner) : base(message, inner) { }
        /// <summary>
        /// Initializes a new instance.
        /// </summary>
        protected ActivatorResolutionException(
          System.Runtime.Serialization.SerializationInfo info,
          System.Runtime.Serialization.StreamingContext context)
            : base(info, context) { }
    }
}
